#include "vol_breakpad.h"

void CVolExceptionHandler::Initialize(const wstring& dump_path, ExceptionHandler::MinidumpCallback cb, void* volcb, int handler_types)
{
	if (m_handler != NULL) return;
	m_handler = new ExceptionHandler(dump_path, NULL, cb, volcb, handler_types);
}

CVolExceptionHandler* CVolExceptionHandler::instance()
{
	static CVolExceptionHandler handler;
	return &handler;
}

